package com.yun.dao;

import com.yun.pojo.Evaluate;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface EvaluateMapper {
    List<Evaluate> getEvaluate();

    int addEvaluate(Evaluate evaluate);

    int deleteEvaluate(int id);

    int updateState(int id,int state);

    List<Evaluate> queryState(int state);


}
